package com.ruoyi.sale.service;

import java.util.List;
import com.ruoyi.sale.domain.SalesDelivery;

/**
 * 销售发货记录Service接口
 * 
 * @author ruoyi
 * @date 2025-06-17
 */
public interface ISalesDeliveryService 
{
    /**
     * 查询销售发货记录
     * 
     * @param deliveryId 销售发货记录主键
     * @return 销售发货记录
     */
    public SalesDelivery selectSalesDeliveryByDeliveryId(Long deliveryId);

    /**
     * 查询销售发货记录列表
     * 
     * @param salesDelivery 销售发货记录
     * @return 销售发货记录集合
     */
    public List<SalesDelivery> selectSalesDeliveryList(SalesDelivery salesDelivery);

    /**
     * 新增销售发货记录
     * 
     * @param salesDelivery 销售发货记录
     * @return 结果
     */
    public int insertSalesDelivery(SalesDelivery salesDelivery);

    /**
     * 修改销售发货记录
     * 
     * @param salesDelivery 销售发货记录
     * @return 结果
     */
    public int updateSalesDelivery(SalesDelivery salesDelivery);

    /**
     * 批量删除销售发货记录
     * 
     * @param deliveryIds 需要删除的销售发货记录主键集合
     * @return 结果
     */
    public int deleteSalesDeliveryByDeliveryIds(String deliveryIds);

    /**
     * 删除销售发货记录信息
     * 
     * @param deliveryId 销售发货记录主键
     * @return 结果
     */
    public int deleteSalesDeliveryByDeliveryId(Long deliveryId);
}
